<%@ page import="cn.pzhuweb.pojo.SUser" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.Arrays" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>登录成功！</h1>
<br>
<h2>当前登录信息有：</h2>
<%
	HashMap<String, SUser> map = null;
	map = (HashMap<String, SUser>) application.getAttribute("MAP");
%>
<br> 姓名：<%=map.get(session.getAttribute("user")).getXm()%>
年龄：<%=map.get(session.getAttribute("user")).getAge()%>
爱好：
<%=Arrays.toString(map.get(session.getAttribute("user")).getHobby())%>
<br>
<a href="destory.jsp">返回主页继续登录</a>
</body>
</html>